import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      // path: '/',
      // name: 'HelloWorld',
      // component: HelloWorld
      path: '/login',
      name: 'login',
      component: () => import('@/components/login.vue')
    },
    {
      path: '/register',
      name: 'register',
      component: () => import('@/components/register.vue')
    },
    {
      path: '/doneRegister',
      name: 'doneRegister',
      component: () => import('@/components/done-register.vue')
    },
    {
      path: '/',
      name: 'index',
      component: () => import('@/components/index.vue')
    },
    {
      path: '/findbackPasswordFirst',
      name: "findbackPasswordFirst",
      component: () => import('@/components/findback-password-first.vue')
    },
    {
      path: '/findbackPasswordSecond',
      name: "findbackPasswordSecond",
      component: () => import('@/components/findback-password-second.vue')
    },
    {
      path: '/findbackPasswordThird',
      name: "findbackPasswordThird",
      component: () => import('@/components/findback-password-third.vue')
    },
    {
      path: '/user',
      name: 'user',
      component: () => import('@/components/user.vue')
    },
    {
      path: '/file',
      name: 'file',
      component: () => import('@/components/file.vue')
    }
  ]
})
